package com.gs.weather.service;


import com.gs.weather.entity.DisasterInfo;
import com.gs.weather.vo.PageBean;
import org.springframework.http.ResponseEntity;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/27 0027
 */
public interface DisasterInfoService {

    ResponseEntity addInfo(DisasterInfo info);

    ResponseEntity updateInfo(DisasterInfo info);

    DisasterInfo getInfoById(long id);

    PageBean getAllInfo(String name , String time, Integer pageNum);

    ResponseEntity deleteInfo(long id);
}
